package com.ftg.learn.mapper;

import com.ftg.learn.entity.SysPermission;
import com.ftg.learn.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 描述
 *
 * @author 布衣
 * @date 2025/8/14
 */
@Mapper
public interface SysUserMapper {

    @Select("select * from sys_user where username = #{username}")
    SysUser selectOneByUsername(@Param("username") String username);


    List<SysUser> list(String  username);

}
